/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.park.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.hopes.boss.common.entity.ExcelDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 园区规划管理
 *
 * @author pig
 * @date 2023-10-25 10:55:24
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BaseParkPlanExcelDTO extends ExcelDTO {

    private static final long serialVersionUID = 1L;


	/**
	* 规划名称
	*/
    @ExcelProperty("规划名称")
	@NotBlank(message = "规划名称不能为空")
    private String planName;

	/**
	* 规划编号
	*/
    @ExcelProperty("规划编号")
    private String planCode;

	/**
	* 发布单位
	*/
    @ExcelProperty("发布单位")
    private String publishUnit;

	/**
	* 有效日期
	*/
    @ExcelProperty("有效日期")
	@NotNull(message = "有效日期不能为空")
    private Date effectiveDate;

	/**
	* 失效日期
	*/
    @ExcelProperty("失效日期")
	@NotNull(message = "失效日期不能为空")
    private Date ineffectiveDate;

	/**
	* 规划简述
	*/
    @ExcelProperty("规划简述")
    private String planComment;


}
